package com.aixingfu.sports.Model;

import java.util.List;

/**
 * Created by 吕冬冬 on 2019.05.10.
 *
 * @auhtor 吕冬冬
 * email 863964634@qq.com
 * 内容: 获取付费方式
 * 修改人：
 * 修改时间：
 * 修改备注：
 */
public class UserPayModel extends StateModel{


    /**
     * code : 1
     * status : success
     * message : 获取相关信息成功
     * data : {"cashier":[{"cashier_name":"孙世豪","casher_id":"2185"}],"pay_method":[{"pay_name":"现金","pay_mode":1},{"pay_name":"支付宝","pay_mode":3},{"pay_name":"微信","pay_mode":2},{"pay_name":"pos刷卡","pay_mode":4},{"pay_name":"建设分期","pay_mode":5},{"pay_name":"广发分期","pay_mode":6},{"pay_name":"招行分期","pay_mode":7},{"pay_name":"借记卡","pay_mode":8},{"pay_name":"贷记卡","pay_mode":9},{"pay_name":"库分期","pay_mode":10}]}
     */


    private DataBean data;



    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<CashierBean> cashier;
        private List<PayMethodBean> pay_method;

        public List<CashierBean> getCashier() {
            return cashier;
        }

        public void setCashier(List<CashierBean> cashier) {
            this.cashier = cashier;
        }

        public List<PayMethodBean> getPay_method() {
            return pay_method;
        }

        public void setPay_method(List<PayMethodBean> pay_method) {
            this.pay_method = pay_method;
        }

        public static class CashierBean {
            /**
             * cashier_name : 孙世豪
             * casher_id : 2185
             */

            private String cashier_name;
            private String casher_id;

            public String getCashier_name() {
                return cashier_name;
            }

            public void setCashier_name(String cashier_name) {
                this.cashier_name = cashier_name;
            }

            public String getCasher_id() {
                return casher_id;
            }

            public void setCasher_id(String casher_id) {
                this.casher_id = casher_id;
            }
        }

        public static class PayMethodBean {
            /**
             * pay_name : 现金
             * pay_mode : 1
             */

            private String pay_name;
            private int pay_mode;

            public String getPay_name() {
                return pay_name;
            }

            public void setPay_name(String pay_name) {
                this.pay_name = pay_name;
            }

            public int getPay_mode() {
                return pay_mode;
            }

            public void setPay_mode(int pay_mode) {
                this.pay_mode = pay_mode;
            }
        }
    }
}
